programs.fish.functions.<name>.onEvent
Tells fish to run this function when the specified named event is emitted. Fish internally generates named events e.g. when showing the prompt.
- Type
null or string or list of string- Default
null
Tells fish to run this function when the specified named event is emitted. Fish internally generates named events e.g. when showing the prompt.
null or string or list of stringnull